<?php /* Smarty version Smarty-3.0.7, created on 2012-06-06 16:18:18
         compiled from "E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot/template/templates\mc/transaction/seller/procurement/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:221754fcf124a1e24b8-99941479%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '65f253dd810b60258b22109d19c0354da9b1db39' => 
    array (
      0 => 'E:\\Project\\Company\\dus\\shipinall.cn\\Subversion\\wwwroot/template/templates\\mc/transaction/seller/procurement/list.tpl',
      1 => 1338970697,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '221754fcf124a1e24b8-99941479',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.truncate.php';
if (!is_callable('smarty_modifier_date_format')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.date_format.php';
?><script type="text/javascript" src="/scripts/apps/mc/procurement/list.js"></script>
<form id="Form_Supply" name="Form_Supply" action="/exec.php?action=mc_procurement_list" method="post" enctype="multipart/form-data">
<table width="660" border="0" align="center" cellpadding="0" cellspacing="0" class="regBL">
<tr>
    <td align="left" ><h2>匹配的采购信息</h2></td>
</tr>
</table>
<br />
<table width="650"  align="center" cellpadding="0" cellspacing="0"  class="mang_tab">
    <tr>
        <td width="21" height="25" align="center" bgcolor="#f7f7f7"><strong>选</strong></td>
        <td width="97" align="center" bgcolor="#f7f7f7"><strong>产品标题</strong></td>
        <td width="191" align="center" bgcolor="#f7f7f7"><strong>标题</strong></td>
        <td width="63" align="center" bgcolor="#f7f7f7"><strong>规格</strong></td>
        <td width="49" align="center" bgcolor="#f7f7f7"><strong>数量</strong></td>
        <td width="84" align="center" bgcolor="#f7f7f7"><strong>产地要求</strong></td>
        <td width="71" align="center" bgcolor="#f7f7f7"><strong>日期</strong></td>
        <td width="72" align="center" bgcolor="#f7f7f7"><strong>操作</strong></td>
    </tr>
	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Supplies')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
    <tr>
        <td height="25" align="center"  >
        	<input id="ID" name="ID[]" type="checkbox" value="<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" />
        </td>
        <td height="25" align="center" valign="middle"><a href="/exec.php?action=procurement_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank" ><img src="<?php echo $_smarty_tpl->getVariable('Row')->value['ThumbnailPath'];?>
" width="89" height="78" /></a></td>
        <td align="center"  ><a href="/exec.php?action=procurement_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank" ><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],15,"..");?>
</a></td>
        <td height="25" align="center"><?php echo $_smarty_tpl->getVariable('Row')->value['Norms'];?>
</td>
        <td align="center"><?php echo $_smarty_tpl->getVariable('Row')->value['Amount'];?>
/<?php echo $_smarty_tpl->getVariable('Row')->value['Unit'];?>
</td>
        <td align="center"><?php echo $_smarty_tpl->getVariable('Row')->value['Origin'];?>
</td>
        <td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%Y-%m-%d");?>
</td>
        <td align="center">
        	<a href="/exec.php?action=mc_procurement_edit&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_self" class="lane">报价</a>       
		</td>
    </tr>
    <?php }} ?>
    <tr>
        <td height="25" colspan="8"  >
            <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
                <td align="center" style="border:none"><?php echo $_smarty_tpl->getVariable('PageMenu')->value;?>
</td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<br />
</form>